package net.neptech.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import net.neptech.model.appointment.ClnicStaff;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ClnicStaffDTO {

    private Long staffId; // 医生id

    private Byte typeId; //线上/线下 1，2

    private Long deptId; // 科室id

    private Integer status; //状态 1正常 2停用

//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date clnicTime;; //格式yyyy-MM-dd

    private String period; //1.上午|2.下午
}
